import { markRaw } from 'vue';
import { FormOne } from "@icon-park/vue-next";
import Node from './loop_node.vue';
import Property from './loop_property.vue';

// 导出当前目录的节点元数据
 export default {
   type: "loop",
   name: "循环节点",
   category: "控制节点",
   icon: markRaw(FormOne),
   serializableFields: ["loopMode", "loopParams"],
   defaultData: {
     loopMode: "for",
     loopParams: {},
   },
   component: markRaw(Node),
   propertyComponent: markRaw(Property),
 };